/**
 *@des 产品营销
 *@author stav stavyan@qq.com
 *@blog https://stavtop.club
 *@date 2019/11/18 13:57:54
 */
// 首页列表
const indexList =  '/appController.do?getServiceTypeList'   //'/tiny-shop/v1/index/index';
const  carouseImgList = '/appController.do?getCarouselImgList';
// 产品分类列表
const productCate = '/appController.do?getAllServiceTypeList';//'/tiny-shop/v1/product/cate/index';
// 首页推荐分类
const productCateList = '/tiny-shop/v1/product/cate/list';
// 产品列表
const productList = '/appController.do?getPublishListByTypeOrName';//'/tiny-shop/v1/product/product/index';

// 产品详情
const productDetail = '/appController.do?getProductInfo';//'/tiny-shop/v1/product/product/view';
//首页热门商品|服务
const indexProductList =  '/appController.do?getHotListTop10ByCorpId';
//首页推荐套餐
const indexPackageList = '/appController.do?getPackageListByTypeOrName';
// 组合套餐详情
const combinationView = '/tiny-shop/v1/marketing/combination/view';
//套餐详情
const getPackageInfo =  '/appController.do?getPackageInfo';
//套餐购买
const cstmBuyPackage = '/payAppController.do?cstmBuyPackage';

//套餐订单
const getPackageBuyInfo ='/payAppController.do?getPackageBuyInfo';

//套餐支付
const updatePackageBuyState = '/payAppController.do?updatePackageBuyState';
//套餐订单
const getCstmPackageList = '/payAppController.do?getCstmPackageList';
//取消套餐订单
const deletePackageBuy =  '/payAppController.do?deletePackageBuy';

const getPackageItemListById = '/appController.do?getPackageItemListById';

const getPackageItemList = '/payAppController.do?getPackageItemListById';

const bookOrderByPackage = '/payAppController.do?bookOrderByPackage';
// 猜您喜欢
const guessYouLikeList = '/appController.do?getPublishListTop10ByCorpId';//'/tiny-shop/v1/product/product/guess-you-like';
// 添加购物车
const cartItemCreate = '/appController.do?saveShopCart';//'/tiny-shop/v1/member/cart-item/create';
// 购物车列表
const cartItemList = '/appController.do?getMyShopCartList';//'/tiny-shop/v1/member/cart-item/index';
const getCartPayInfo = '/appController.do?getCartPayInfo';

const getMyCartListNew = '/appController.do?getMyCartListNew';
// 购物车列表
const cartItemCount = '/appController.do?getMyShopCartList';
// 删除购物车商品
const cartItemDel = '/appController.do?delShopCart';//'/tiny-shop/v1/member/cart-item/delete-ids';
// 清空购物车
const cartItemClear = '/appController.do?delShopCart';//'/tiny-shop/v1/member/cart-item/clear';
// 修改购物车商品数量
const cartItemUpdateNum = '/appController.do?editShopCart';//'/tiny-shop/v1/member/cart-item/update-num';
// 修改购物车商品sku
const cartItemUpdateSku = '/tiny-shop/v1/member/cart-item/update-sku';

//购物车结算
const cartOrderCreate = '/appController.do?settleShopCart';

// 品牌列表
const brandIndex = '/tiny-shop/v1/product/brand/index';

// 订单创建
const orderCreate = '/appController.do?orderApplyNew';//'/tiny-shop/v1/order/order/create';
// 订单预览
const orderPreview = '/appController.do?getProductInfo';//'/tiny-shop/v1/order/order/preview';
const orderPreview2 = '/appController.do?orderPreview';//'/tiny-shop/v1/order/order/preview';

// 取消未支付订单
const orderClose = '/tiny-shop/v1/member/order/close';
// 订单支付
const orderPay = '/appController.do?batchChangePayState';//'/tiny-shop/v1/common/pay/create';
// 选择快递运费计算
const orderFreightFee = '/tiny-shop/v1/order/order/freight-fee';

// 商品评价列表
const evaluateList = '/appController.do?getProductCommentList';//'/tiny-shop/v1/product/evaluate/index';

// 商品评价列表
const orderProductExpressDetails = '/tiny-shop/v1/member/order-product-express/details';

// 拼团
// 拼团产品
const wholesaleProductIndex = '/tiny-shop/v1/marketing/wholesale-product/index';
// 开团列表
const wholesaleIndex = '/tiny-shop/v1/marketing/wholesale/index';
// 开团详情
const wholesaleView = '/tiny-shop/v1/marketing/wholesale/view';
// 开团详情
const wholesaleGroupState = '/tiny-shop/v1/marketing/wholesale/group-state';
// 我的开团列表
const myWholesaleIndex = '/tiny-shop/v1/member/wholesale/index';

// 限时折扣
// 限时折扣列表
const discountProductIndex = '/tiny-shop/v1/marketing/discount-product/index';

// 团购
// 团购商品列表
const groupBuyIndex = '/tiny-shop/v1/marketing/group-buy/index';

// 砍价
// 砍价商品列表
const bargainProductIndex = '/tiny-shop/v1/marketing/bargain-product/index';
// 创建砍价
const bargainLaunchCreate = '/tiny-shop/v1/marketing/bargain-launch/create';
// 砍价详情
const bargainLaunchView = '/tiny-shop/v1/marketing/bargain-launch/view';
// 帮好友砍价
const bargainPartakeCreate = '/tiny-shop/v1/marketing/bargain-partake/create';
// 我的砍价列表
const bargainLaunchIndex = '/tiny-shop/v1/marketing/bargain-launch/index';

// 我的砍价列表
const miniProgramLiveIndex = '/tiny-shop/v1/marketing/mini-program-live/index';

// 我的砍价列表
const thirdPartyQrCode = '/tiny-shop/v1/third-party/qr-code';

//餐饮商家列表
const getStoreList= '/appController.do?getStoreList';

const getSubTypeListByBigType =  '/appController.do?getSubTypeListByBigType';

const  getMerchantInfo =  '/appController.do?getMerchantInfo';

const  getProdcutListByTypeAndShopId =  '/appController.do?getProdcutListByTypeAndShopId';

const editShopCart = '/appController.do?editShopCart';

const delShopCart  = '/appController.do?delShopCart';
const delMerchantShopCart  = '/appController.do?delMerchantShopCart';

const  evaluateStat  = '/appController.do?evaluateStat';
export {
	evaluateStat,
	delMerchantShopCart,
	orderPreview2,
	delShopCart,
	editShopCart,
	bookOrderByPackage,
	getPackageItemList,
	deletePackageBuy,
	getCstmPackageList,
	getProdcutListByTypeAndShopId,
	getMerchantInfo,
	getSubTypeListByBigType,
	getStoreList,
	updatePackageBuyState,
	getPackageBuyInfo,
	cstmBuyPackage,
	getPackageItemListById,
	getPackageInfo,
	getMyCartListNew,
	getCartPayInfo,
	indexList,
	carouseImgList,
	productCate,
	productCateList,
	productList,
	guessYouLikeList,
	productDetail,
	combinationView,
	cartItemCreate,
	cartItemList,
	cartItemDel,
	cartItemClear,
	cartItemUpdateNum,
	brandIndex,
	orderCreate,
	orderClose,
	orderPay,
	orderFreightFee,
	evaluateList,
	orderPreview,
	orderProductExpressDetails,
	cartItemUpdateSku,
	cartItemCount,
	wholesaleProductIndex,
	wholesaleIndex,
	wholesaleView,
	wholesaleGroupState,
	myWholesaleIndex,
	discountProductIndex,
	groupBuyIndex,
	bargainProductIndex,
	bargainLaunchCreate,
	bargainLaunchView,
	bargainPartakeCreate,
	bargainLaunchIndex,
	miniProgramLiveIndex,
	thirdPartyQrCode,
	indexProductList,
	indexPackageList,
	cartOrderCreate
};
